<template>
  <div class="adminLog">
      <!-- <h1>管理员日志</h1> -->
      <search :pageNum="pageNum" :pageSize="pageSize"></search>
      <Table @changePage="changePage"></Table>
  </div>
</template>

<script>
import Table from './components/table.vue'
import search from './components/search.vue'
export default {
  components: { search, Table },
  data () {
    return {
      pageNum: 1,
      pageSize: 10
    }
  },
  methods: {
    changePage (page) {
      this.pageNum = page.page
      this.pageSize = page.size
    }
  }

}

</script>

<style>

</style>
